package com.ruoyi.dynamic.domain;

import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 约玩报名对象 t_user_party_enroll
 * 
 * @author DEREK
 * @date 2023-12-07
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_party_enroll")
public class UserPartyEnroll
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 约玩id */
    @Excel(name = "约玩id")
    private Long partyId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 状态 0=待接口 1=已接收 2=已拒绝 */
    @Excel(name = "状态 0=待接受 1=已接收 2=已拒绝")
    private Integer status;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extend;

    private Date createTime;
    private Date updateTime;
    
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("partyId", getPartyId())
            .append("userId", getUserId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("remarks", getRemarks())
            .append("extend", getExtend())
            .toString();
    }
}
